package com.ayne.network.packets;

import com.ayne.network.packets.Packet.Packet0LoginRequest;
import com.ayne.network.packets.Packet.Packet1LoginResponse;
import com.ayne.network.packets.Packet.Packet2Message;
import com.esotericsoftware.kryo.Kryo;

public class Registration {
	/* All packet types must be registered for
	 * both the Client and the Server. This is
	 * basically the dictionary by which the connection
	 * communicates.
	 */
	public static void registerPackets(Kryo kryo) {
		kryo.register(Packet0LoginRequest.class);
		kryo.register(Packet1LoginResponse.class);
		kryo.register(Packet2Message.class);
	}
}
